package com.example.dao.user;

import com.example.dto.user.UserDto;
import com.example.entity.user.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author  guochao
 * @date  2022/1/6 20:52
 * @version 1.0
 */
@Mapper
public interface UserDao {
    List<UserDto> list(UserDto userDto);

    UserDto getById(Long id);

    void add(User user);

    void update(User user);

    void delete(User user);
}
